package com.gec.zhs.entity.enums;

/**
 * @author zhs
 * @version 1.0
 * @date 2025-01-08
 * @description
 */
public enum DateTimePatternEnum {
    YYYY_MM_DD_HH_MM_SS("yyyy-MM-dd HH:mm:ss"), YYYY_MM_DD("yyyy-MM-dd"), YYYYMM("yyyyMM"), YYYYMMDD("yyyyMMdd");

    private String pattern;

    DateTimePatternEnum(String pattern) {
        this.pattern = pattern;
    }

    public String getPattern() {
        return pattern;
    }
}
